Which of the following function returns the string with first letter of every word in the string in uppercase and rest in lowercase?

Python - Online Exam Test Papers | Python - MCQs[multiple choice questions and answers ] | Python - Mock Test Papers | Python - Practice Papers | Python - Sample Test Papers |

Question:
Which of the following function returns the string with first letter of every word in the string in uppercase and rest in lowercase?

1.swapcase( )

2.upper( )

3.title( )

4.capitalize( )

Posted Date:-2021-12-11 19:13:15


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!